home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 42
/
Amiga Format AFCD42 (Issue 126, Aug 1999).iso
/
-serious-
/
comms
/
other
/
ambos-update
/
ambos
/
toolbox
/
ambos-si
/
getsysinfo
next >
Wrap
Text File
|
1999-05-17
|
1KB
|
46 lines
; $VER: GetSysInfo 1.1 (06.10.98) written by spock@ebase.capella.de
FailAt 21
Which >NIL: RequestFile
If warn
Quit 20
EndIf
Set logname "##unset##"
Set logname `RequestFile DRAWER "RAM:" FILE "SI3.log" TITLE "SI-Logdatei einstellen" SAVEMODE`
If "$logname" eq "##unset##"
Unset logname
Quit 5
EndIf
If exists "$logname"
Set res `RequestChoice "GenSysInfo Frage" "Datei*n$logname*nexistiert bereits!" "Überschreiben" "Abbruch"`
If $res eq "0"
Unset res
Unset logname
Quit 5
EndIf
Unset res
EndIf
Echo >T:SI.log.tmp "SI-Logfile - `date`"
Copy >NIL: T:SI.log.tmp "$logname" quiet
If warn
RequestChoice >NIL: "GetSysInfo Fehler" "Die Datei*n$logname*nkonnte nicht geöffnet werden!" "Abbruch"
Delete T:SI.log.tmp quiet
Quit 10
EndIf
Delete T:SI.log.tmp quiet
Which >NIL: SI
If warn
RequestChoice >NIL: "GetSysInfo Fehler" "Das Tool SI konnte nicht gefunden werden!" "Abbruch"
Quit 10
EndIf
SI >>"$logname"
Set res `RequestChoice "GetSysInfo" "Die Logdatei*n$logname*nwurde erzeugt." "Ansehen" "Ende"`
If $res eq "1"
Run >NIL: MultiView "$logname"
EndIf
Unset res
Unset logname